package com.gtw.modules.dao;

import com.gtw.modules.entity.TbGroupbuy;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
/**
 * 团购
 *
 * @author wuye
 * @email www.baidu.com
 * @date 2018-02-08 17:34:06
 */
@Repository
@Mapper
public interface TbGroupbuyDao  extends BaseDao<TbGroupbuy> {

    int deleteByPrimaryKey(Integer id);

    int insert(TbGroupbuy record);

    int insertSelective(TbGroupbuy record);

    TbGroupbuy selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TbGroupbuy record);

    int updateByPrimaryKey(TbGroupbuy record);

    List<TbGroupbuy> foudList();

    List<TbGroupbuy> foundStart(Map<String, Object> map);

    int foundStartTotal(Map<String,Object> map);
}